<template>
  <div style="height: 1920px; background-color: pink">主页</div>
</template>

<script setup lang="ts">
onActivated(() => {
  console.log('KeepAlive模式下主页被激活了')
})
onMounted(() => {
  console.log('主页被挂载了')
})
</script>

<style scoped></style>
